/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.perlak.resultviewer;

import com.perlak.filesearch.SingleFileResult;
import com.perlak.filesearch.FileSearchResult;
import java.util.List;
/**
 *
 * @author mateusz
 */
public class ConsoleViewer {

    private List<FileSearchResult> results;

    public ConsoleViewer(List<FileSearchResult> resultsList) {
        this.results = resultsList;
    }

    public void output() {
        for(FileSearchResult result: results)
        {
            for(SingleFileResult res:result.getFiles()) {
                System.out.println(res.getFullpath()+"\t"+res.getMD5HashString());
            }
        }
    }
}
